import request from "@/utils/request";
export function uploadService(data, type) {
  let formdata = new FormData();
  formdata.append("file", data);
  formdata.append("type", type);
  return request.post("/admin/upload/picture", formdata, {
    headers: { "Content-Type": "multipart/formdata" },
  });
}
